package kong_gui_items;

public class Monkey extends BaseGraphics{
	
	public Monkey(int x, int y, int width, int height, String imageName) {
		super(x, y, width, height, imageName);
	}

	public Monkey(int x, int y, String image) {
		super(x, y, image, false);
		this.setVisible(false);
	}
	
	public Monkey(int x, int y, Boolean rotate) {
		super(x, y, ".\\Resources\\Picts\\donkey_smile.png", rotate);
	}

	public void enterBarrel(Barrel b)
	{
		
		this.x = b.x + b.width/5;
		this.y = b.y + b.height/5;
		this.setVisible(false);
		this.repaint();
		
	}
	private static final long serialVersionUID = 1L;

}
